/**
 * 
 */
package com.wubo.sec.service;

import java.util.List;

import javax.annotation.security.RolesAllowed;

import com.wubo.sec.model.ActionLog;

/**
 * @author wubo
 * @CreateDate 2010-8-8
 * @version 1.0.01
 */
public interface IActionLogService {
	@RolesAllowed("ACTIONLOG_READ")
	List<String[]> listUser(String username);
	
	@RolesAllowed("ACTIONLOG_READ")
	List<String> listName(String name);
	
	void save(ActionLog log);
	
	@RolesAllowed("ACTIONLOG_READ")
	List<ActionLog> getSplitPage(int start, int limit, String filter, Object[] params);
	
	long getTotal(String filter, Object[] params);
	
	@RolesAllowed("ACTIONLOG_DELETE")
	void delete(String ids);
	
	@RolesAllowed("ADMIN")
	void clearAll();
}
